home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 039a / dflat8.zip / MESSAGE.H < prev    next >
Text File  |  1991-06-19  |  544b  |  26 lines

  1. /* ----------- message.h ------------ */
  2.  
  3. #ifndef MESSAGES_H
  4. #define MESSGAES_H
  5.  
  6. #define MAXMESSAGES 50
  7. #define DELAYTICKS 1
  8. #define FIRSTDELAY 7
  9. #define DOUBLETICKS 5
  10.  
  11. typedef enum messages {
  12.     #undef DFlatMsg
  13.     #define DFlatMsg(m) m,
  14.     #include "dflatmsg.h"
  15.     MESSAGECOUNT
  16. } MESSAGE;
  17.  
  18. /* --------- message prototypes ----------- */
  19. void init_messages(void);
  20. void PostMessage(WINDOW, MESSAGE, PARAM, PARAM);
  21. int SendMessage(WINDOW, MESSAGE, PARAM, PARAM);
  22. int dispatch_message(void);
  23. int TestCriticalError(void);
  24.  
  25. #endif
  26.